package com.longtop.sp.mapdao.meta;

/**
 * 用于记录 列MetaData 属性
 * 
 * @author leexh
 */

public class ColumnMetaData implements java.io.Serializable {

	// 所有的列名称采用大写
	private String name;
	private int type;
	private String typeName;
	private int precision;
	private int scale;
	private boolean nullable;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getType() {
		return type;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setPrecision(int precision) {
		this.precision = precision;
	}

	public int getPrecision() {
		return precision;
	}

	public void setScale(int scale) {
		this.scale = scale;
	}

	public int getScale() {
		return scale;
	}

	public void setNullable(boolean nullable) {
		this.nullable = nullable;
	}

	public boolean isNullable() {
		return nullable;
	}

}